package com.cn.common.core.model.websocket;

import com.cn.common.core.model.Request;
import com.cn.common.core.model.Response;

import java.io.Serializable;

/**
 * @Author: jia
 * @Descirption:
 * @Date: 2018/5/14 9:59
 * @Modified By:
 */


public class HttpResponse extends Response{
    public HttpResponse(Object responseData) {
        ResponseData = responseData;
    }

    public HttpResponse(Request message, Object responseData) {
        super(message);
        ResponseData = responseData;
    }

    public HttpResponse(short module, short cmd, Object responseData) {
        super(module, cmd);
        this.ResponseData = responseData;
    }
    public HttpResponse(short module, short cmd) {
        super(module, cmd);
    }

    private Object ResponseData;

    public Object getResponseData() {
        return ResponseData;
    }

    public void setResponseData(Object responseData) {
        ResponseData = responseData;
    }
}
